package cn.getech.data.metadata.constant;

import lombok.Getter;

/**
 * @description: 操作日志类型
 * @author: wangzhaowen：kiss
 * @create: 2020/7/30 15:36
 * @version: 2020/7/30
 **/
@Getter
public enum LogTypeEnum {
    ADD(0,"新增"),
    UPDATE(1,"修改"),
    DELETE(2,"删除"),
    NONE(3,"未变化"),
    ;
    //0 新增 1 修改 2 删除 3 未变化
    private Integer value;
    private String desc;

    LogTypeEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }
}
